//
//  FountManager.h
//  ai2ban
//
//  Created by Heartbeats on 2018/1/21.
//  Copyright © 2018年 mac book pro. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LoginViewViewController.h"
#import "NavgationController.h"

@interface FountManager : NSObject
+ (instancetype) share;
- (BOOL)userIsLogin;
- (NSString *) userId;
- (NSString *) scoreNumber;

@property(nonatomic, strong) UserModel *user;
@property(nonatomic, assign) BOOL isLogin;

- (void) loadUserAddress;

- (UINavigationController *) loginViewControl;

-(void) loginWithUserID:(NSDictionary *)userData psd:(NSString *)psd;
- (void) loginOut;



-(UIImage *)scaleToSize:(UIImage *)img size:(CGSize)size;
@end
